genotype.names
provides the names of all possible genotypes in the
order required by the NOIA model (Alvarez-Castro and Carlborg 2007). The codes for the genotypes are
stored in the vector genotypesNames
.genNames(nloc = 2)
genNamesAppend(name)
genNamesAppend
is an internal function and is not supposed to
be called by anything else than genNames
. The names of the genotypes are stored in the vector
genotypesNames
. By default, they are "1"
, "2"
, and
"3"
, the heterozygotes being "2"
. The genotypes at different loci
are then put together, such as "123"
for 3 loci.